package com.example.logistics_oa.dubbo;


import com.example.comment_oa.dubbo.ChaQitaDubbo;
import com.example.comment_oa.pojos.xinzi.JibenQitajine;
import com.example.logistics_oa.service.JibenQitajineService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;
import java.util.List;

@DubboService(version = "1.0.0",protocol = "${dubbo.protocol.id}",
        application = "${dubbo.application.id}",registry = "${dubbo.registry.id}",
        timeout = 3000)
public class ChaQitaDubboImpl implements ChaQitaDubbo {
    @Resource
    JibenQitajineService jibenQitajineService;

    @Override
    public int insertQita(JibenQitajine jibenQitajine) {
        return jibenQitajineService.insertQita(jibenQitajine);
    }

    @Override
    public List<JibenQitajine> selectOnePerson(String jibenId, String gonghao) {
        return jibenQitajineService.selectOnePerson(jibenId, gonghao);
    }
}
